<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Maven - </title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                  <a href="http://maven.apache.org/" id="bannerLeft">
    
                                    <img src="http://maven.apache.org/images/apache-maven-project.png" alt="" />
    
            </a>
                          <span id="bannerRight">
    
                                    <img src="http://maven.apache.org/images/maven-small.gif" alt="" />
    
            </span>
            <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2009-10-30
                      </div>
            <div class="xright">            <a href="http://www.apache.org/" class="externalLink">Apache</a>
            |
                <a href="http://maven.apache.org/" class="externalLink">Maven 1.0</a>
            |
                <a href="http://maven.apache.org/maven2/" class="externalLink">Maven 2</a>
            
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>Main</h5>
            <ul>
              
    <li class="none">
              <strong>5 Steps to create a Calm-enabled Google Code project</strong>
        </li>
              
    <li class="none">
                    <a href="usage.html">Usage</a>
          </li>
              
    <li class="none">
                    <a href="faq.html">FAQ</a>
          </li>
              
    <li class="none">
                    <a href="links.html">Links</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="source"><pre>5 Steps to create Calm-enabled Google Code project</pre>
</div>
<div class="section"><h2>1. Create a Google Code project; by default maven-calm uses svn as code repository, but you can use also git and simply override the POM property 'maven.release.scm.provider' (not tested yet :-\)</h2>
</div>
<div class="section"><h2>2. Create the following folder structure: + svn + trunk + m2 + releases + snapshots + site</h2>
</div>
<div class="section"><h2>3. Create your calm-enabled POM in /svn/trunk using the following parent (current maven-calm version is 1.0-beta-21): ----</h2>
<p><i>groupId</i>your project's groupId<i>/groupId</i> <i>artifactId</i>your Google Project name<i>/artifactId</i> <i>name</i>your name<i>/name</i> <i>version</i>your project's version-SNAPSHOT<i>/version</i></p>
<p><i>parent</i> <i>groupId</i>com.sourcesense.maven<i>/groupId</i> <i>artifactId</i>maven-calm<i>/artifactId</i> <i>version</i>[maven_calm_version]<i>/version</i> <i>/parent</i></p>
</div>
<div class="section"><h2>4. Define the following repository</h2>
<p><i>repositories</i> ... <i>repository</i> <i>id</i>maven-calm-releases<i>/id</i> <i>url</i>http://maven-calm.googlecode.com/svn/m2/releases<i>/url</i> <i>/repository</i> <i>/repositories</i></p>
</div>
<div class="section"><h2>5. Define the following SCM configuration (it uses a standard SVN layout by default)</h2>
<p><i>scm</i> <i>connection</i>$<a name="maven.release.scm.connection">maven.release.scm.connection</a><i>/connection</i> <i>developerConnection</i>$<a name="maven.release.scm.developerConnection">maven.release.scm.developerConnection</a><i>/developerConnection</i> <i>url</i>$<a name="maven.release.scm.url">maven.release.scm.url</a><i>/url</i> <i>/scm</i></p>
</div>
<div class="section"><h2>That's it! Need an example? Look at the latest sourcesense-parent POM http://repository.sourcesense.com/nexus/content/repositories/releases/com/sourcesense/maven/sourcesense-parent/</h2>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2009
    
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
